#include "stdafx.h"
#include "RemindHelper.h"

void setIndex(QString & strHtml, int index)
{
	strHtml.replace("[INDEX]", QString("%1").arg(index + 1));
}

void setUrl(QString & strHtml, const QString & url)
{
	strHtml.replace("[URL]", url);
}

void setSender(QString & strHtml, const QString & name)
{
	strHtml.replace("[SENDER]", name);
}

void setTitle(QString & strHtml, const QString & title)
{
	strHtml.replace("[TITLE]", title);
}

void setTime(QString & strHtml, const QString & time)
{
	strHtml.replace("[TIME]", time);
}

void setContent(QString & strHtml, const QString & content)
{
	strHtml.replace("[CONTENT]", content);
}